﻿using RAP.Framework.Libary.DomTemplateBuilder.Attributes;
using RAP.Framework.Libary.DomTemplateBuilder.Handler;
using RAP.Framework.Libary.Utils;

namespace RAP.Framework.Libary.DomTemplateBuilder.Element
{
	/// <summary>
	/// 结束模板处理
	/// </summary>
	[TagHandler( "End", typeof( EndTemplateHandler ) )]
	public class EndTemplate : ElementBase
	{
		public bool ThrowError
		{
			get
			{
				return this.ToBoolean ( "ThrowError", true );
			}
		}
	}
}
